import request from "@/request/request";

//登录请求
export const LoginRequest = (param) => request.post("/login", param);
//请求客户信息列表
export const GetCustInfoList = (params) => request.get("/api/cust", {params})

//物流单
//请求全部物流单列表信息
export const GetOrdersList = (params) => request.get("/order/v1/list", {params})
//发货请求
// export const SendOrder = (data) => request.post("/order/v1/send", data);
//获取待发货
export const GetPendingSend = (params) => request.get("/order/v1/list/1", {params})
//获取待收货
export const GetPendingRec = (params) => request.get("/order/v1/list/2", {params})
//获取待评价
export const GetPendingComm = (params) => request.get("/order/v1/list/3", {params})

//消息中心
export const GetAllMessage = (params) =>request.get("/api/message", {params})
//消息详情
export const GetMessageDetail = (params) => request.get("/api/message/" + params);